import axios from "axios";

export const GET =async (url : string,params : object | null)=>{
    try{
        let data= await axios.get(url,{
            params:params
        });
        return data;
    }catch(error){
        return error;
    }
}